package com.ebuy.shopping.service;

import java.util.List;
import java.util.Map;

import com.ebuy.shopping.model.News;

/**
 * 
 * @ClassName: INewsService
 * @Description: TODO
 * @author songwen
 * @date 2017年8月10日 上午10:42:16
 * 
 */
public interface INewsService {
	News load(int id) throws Exception;

	// 分页查询
	List<News> getNewsPage(Map<String, Object> map);
	// 添加新闻
	int add(News news) throws Exception;
	int update(News news) throws Exception;
	int delete(int id) throws Exception;

}
